package com.example.yeb.yebserver.service.impl;

import com.example.yeb.yebserver.entity.TAdmin;
import com.example.yeb.yebserver.mapper.TAdminMapper;
import com.example.yeb.yebserver.service.TAdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author MC鹏浩
 * @since 2021-03-08
 */
@Service
public class TAdminServiceImpl extends ServiceImpl<TAdminMapper, TAdmin> implements TAdminService {

    @Autowired
    private TAdminMapper tAdminMapper;

    @Override
    public List<TAdmin> selectAdminByUser() {
        return tAdminMapper.selectList(null);
    }
}
